#include "BlogDetail.h"

BlogDetail::BlogDetail()
{
}

BlogDetail::BlogDetail(const QString &title,
                       const QString &time,
                       const int &readCount,
                       const QString &category,
                       const QPixmap &authorAvatar,
                       const QString &authorName,
                       const QString &htmlContent,
                       const int &likeCount,
                       const int &commentCount,
                       const int &favoriteCount)
{
    this->title = title;
    this->time = time;
    this->readCount = readCount;
    this->category = category;
    this->authorAvatar = authorAvatar;
    this->authorName = authorName;
    this->htmlContent = htmlContent;
    this->likeCount = likeCount;
    this->commentCount = commentCount;
    this->favoriteCount = favoriteCount;
}
